﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UTC_Project_Manager.Model.Infrastructure
{
    public class MailSettings
    {
        public MailSettings()
        {
        }

        public MailSettings(String smtp, int port, Boolean isAnonymous, String Login, String password)
        {
            this.Smtp = smtp;
            this.Port = port;
            this.IsAnonymous = isAnonymous;
            if (!isAnonymous)
            {
                this.Login = Login;
                this.Password = password;
            }
        }

        public String Smtp { get; set; }
        public int Port { get; set; }
        public Boolean IsAnonymous { get; set; }
        public String Login { get; set; }
        public String Password { get; set; }

    }
}
